package com.zang.netty.io.aio;

import com.zang.netty.io.model.enums.SocketEnum;

/**
 * @author Zhang Qiang
 * @Date 2019/7/20 15:18
 */
public class TimeServerByAio {

    public static void main(String[] args) {
        int port = SocketEnum.PORT.getNum();

        if (args!= null && args.length >0){
            try {
                port = Integer.valueOf(args[0]);
            }catch (NumberFormatException e){}
        }


    }

}
